/*
** my.h for include in /home/chassa_m/rendu/Piscine-C-include
** 
** Made by chassa_m
** Login   <chassa_m@epitech.net>
** 
** Started on  Thu Oct 10 08:25:49 2013 chassa_m
** Last update Thu Nov 28 22:21:20 2013 chassa_m
*/

#ifndef MY_H_
#define MY_H_

void	my_putchar(char c);
int	my_isneg(int nb);
int	my_swap(int *a, int *b);
int	my_putstr(char *str);
int	my_strlen(char *str);
int	my_getnbr(char *str);
void	my_sort_inttab(int *tab, int size);
int	my_power_rec(int nb, int power);
int	my_square_root(int nb);
int	my_is_prime(int nombre);
int	my_find_prime_sup(int nb);
char	*my_strcpy(char *dest, char *src);
char	*my_strncpy(char *dest, char *src, int nb);
char	*my_revstr(char *str);
char	*my_strstr(char *str, char *to_find);
int	my_strcmp(char *s1, char *s2);
int	my_strncmp(char *s1, char *s2, int nb);
char	*my_strupcase(char *str);
char	*my_strlowcase(char *str);
char	*my_strcapitalize(char *str);
int	my_str_isalpha(char *str);
int	my_str_isnum(char *str);
int	my_str_islower(char *str);
int	my_str_isupper(char *str);
int	my_str_isprintable(char *str);
int	my_showstr(char *str);
int	my_showmem(char *str, int size);
char	*my_strcat(char *dest, char *src);
char	*my_strncat(char *dest, char *src, int nb);
int	my_strlcat(char *dest, char *src, int size);
int	my_put_nbr(unsigned int nb);
int	my_putnbr_base(unsigned int nb, char *base);
int	my_printf(const char *format, ...);
int	flag_d(va_list ap);
int	flag_o(va_list ap);
int	flag_u(va_list ap);
int	flag_s(va_list ap);
int	flag_S(va_list ap);
int	flag_x(va_list ap);
int	flag_X(va_list ap);
int	flag_c(va_list ap);
int	flag_b(va_list ap);
int	flag_p(va_list ap);
int	flag_m(va_list ap);
int	flag_percent(va_list ap);
char	*my_strdup(char *str);
int	my_fptr(int i, va_list ap);
int	my_recognition(const char *format, char *flags, int i, va_list ap);

#endif /* !MY_H_ */
